<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>{$meta_title}</h2>
    </div>
    <form action="{:U('saveLesson')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">课程内容<span class="check-tips"></span></label>
            <div class="controls">
                <label class=" input-large" >
                    {$plan.content}
                </label>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">教学方案<span class="check-tips"><a href="{:U('reference?course_plan_id='.$plan['course_plan_id'])}" target="_blank">参考</a> </span></label>
            <div class="controls">
                <label class="textarea input-large" style="width: 60%;min-height: 300px;">
                    <textarea name="teach_plan"></textarea>
                </label>
            </div>
        </div>


        <div class="form-item" style="margin-top: 30px;">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
        <input type="hidden"  name="id" value="{$id}" >
        <input type="hidden"  name="pay_id" value="{$plan.pay_id}" >
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Teaching/add')}');
    </script>

</block>
